#pragma once
#include "scbitf.h"

namespace rtdev {
class NoSafety : public ScbSafetySignalItf
{
public:
    NoSafety() = default;
    ~NoSafety() = default;

    int get_ei_stat(bool dual_chn[2], bool* has_fault) override
    {
        dual_chn[0] = dual_chn[1] = 1;
        if (has_fault)
            *has_fault = false;
        return 0;
    }
    int get_ext_ei_stat(bool dual_chn[2], bool* has_fault) override
    {
        dual_chn[0] = dual_chn[1] = 1;
        if (has_fault)
            *has_fault = false;
        return 0;
    }
    int get_si_stat(bool dual_chn[2], bool* has_fault) override
    {
        dual_chn[0] = dual_chn[1] = 1;
        if (has_fault)
            *has_fault = false;
        return 0;
    }

    int set_tcp_offset(float x, float y, float z) override { return 0; }
};

}  // namespace rtdev